package monster.com.cvh.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import monster.com.cvh.bean.CollectionBean;

/**
 * @author: monster
 * @data: 2018/3/29
 * @function: 收藏Recyclerview的Adapter
 */
public class CollectionAdapter extends BaseQuickAdapter<CollectionBean.DataBean,BaseViewHolder> {
    public CollectionAdapter(int layoutResId, @Nullable List<CollectionBean.DataBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CollectionBean.DataBean item) {
//        helper.setText(R.id.item_collection_title,item.getCollectionTitle());
//        helper.setText(R.id.item_collection_data,item.getCollectionData());
//        helper.setText(R.id.item_collection_time,item.getCollectionTime());
    }
}
